﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ERPStore.NewsLetters.Models
{
	[DataContract]
	public class EmailSentListFilter
	{
		public EmailSentListFilter()
		{
			PageIndex = 0;
			PageSize = 40;
		}

		[DataMember]
		public int? CampaignId { get; set; }
		[DataMember]
		public int PageSize { get; set; }
		[DataMember]
		public int PageIndex { get; set; }
		[DataMember]
		public int TotalCount { get; set; }

		[DataMember]
		public bool? WithClick { get; set; }
		[DataMember]
		public bool? WithOpen { get; set; }
		[DataMember]
		public string SearchTerm { get; set; }
		[DataMember]
		public bool? WithUnsubscribe { get; set; }

		[DataMember]
		public string SortByPropertyName { get; set; }
		[DataMember]
		public System.ComponentModel.ListSortDirection SortDirection { get; set; }

	}
}
